/**
 * 
 */
package exception;

import data.Position;

/**
 * @author bogdan
 *
 */
public class BadPositionException extends Exception {

	private static final long serialVersionUID = 5952292728085102993L;

	public BadPositionException(String message)
	{
		super(message);
	}
	
	public BadPositionException(Position pos)
	{
		super("Illegal position: " + pos.toString());
	}
}
